package cn.yll.api.order.request;

import cn.yll.api.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author yangll
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("订单商品行请求实体")
public class OrderLineRequest extends BaseRequest {

    @ApiModelProperty("商品ID")
    private Long goodId;

    @ApiModelProperty("购买数量")
    private Integer buyNum;

    @ApiModelProperty("商品价格")
    private Integer price;

}
